/**
 * TooManyResultsException.java 
 * Copyright © 2015-3015, 杭州泊享网络科技有限公司
 * 
 * @author Liu Tao
 * @create 2015年6月1日
 */
package com.pshare.framework.exception;

import com.pshare.enums.CodeMsg;

/**
 * 查找的数据应该是唯一，但实际数据重复
 */
public class TooManyResultsException extends SeaxRuntimeException {

	private static final long serialVersionUID = -9117624927832317117L;
	private final static Integer code = CodeMsg.TOO_MANY_RESULT.getCode();

	public TooManyResultsException() {
		super();
	}

	public TooManyResultsException(String message) {
		super(message);
	}

	public TooManyResultsException(Throwable cause) {
		super(cause);
	}

	public TooManyResultsException(String message, Throwable cause) {
		super(message, cause);
	}

	public Integer getCode() {
		return code;
	}
	
}
